﻿using System;
using DevExpress.Xpo;

namespace Aij1.Model
{
    [MapInheritance(MapInheritanceType.OwnTable)]
    public class B_Series : A_Article
    {
        public B_Series(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        int fPrice;
        public int Price
        {
            get { return fPrice; }
            set { SetPropertyValue<int>("Price", ref fPrice, value); }
        }

        int fOriginalPrice;
        public int OriginalPrice
        {
            get { return fOriginalPrice; }
            set { SetPropertyValue<int>("OriginalPrice", ref fOriginalPrice, value); }
        }
    }
}